package com.zh.goods.service;


import com.zh.goods.domain.GoodsDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-12-12 09:50:30
 */
public interface GoodsService {

	GoodsDO get(String id);

	List<GoodsDO> get1(String id);

	List<GoodsDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GoodsDO scGoods);
	
	int update(GoodsDO scGoods);

	int updateAndSaveRecord(GoodsDO scGoods);

	int remove(String id);

	int removeGoodsAndSubList(String id);

	int batchRemove(String[] ids);

	int batchRemoveGoodsAndSubList(String[] ids);

	List<GoodsDO> getAll();
}
